package com.leyou.search.repository;

import com.leyou.search.pojo.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * *
 * Created by IntelliJ IDEA.
 * Author: caoLei
 * Date: 2018/10/29
 * Time: 9:42
 * *
 */
public interface GoodsRepository extends ElasticsearchRepository<Goods,Long> {  //第一个参数：实体类型，第二个：主键类型
}
